package com.api.gbhg.zengping.page;

import java.io.Serializable;
import java.util.Map;

/**
 * @program: gbhg-oa
 * @author: Mr.zeng
 * @create: 2020-12-28 14:33
 **/
public class PageInfo<T>  implements Serializable {
    //保存页面数据
    private Map<String,Object>[] list;
    private int pageNum;
    //每页多少条显示数据
    private int pageSize;
    //查询到的总记录数
    private int total;
    private String fromTable;
    //流程标题
    private String flowHeadLine;
    //流程id
    private String flowId;

    public String getFlowId() {
        return flowId;
    }

    public void setFlowId(String flowId) {
        this.flowId = flowId;
    }

    public String getFlowHeadLine() {
        return flowHeadLine;
    }

    public void setFlowHeadLine(String flowHeadLine) {
        this.flowHeadLine = flowHeadLine;
    }

    public String getFromTable() {
        return fromTable;
    }

    public void setFromTable(String fromTable) {
        this.fromTable = fromTable;
    }

    public Map<String, Object>[] getList() {
        return list;
    }

    public void setList(Map<String, Object>[] list) {
        this.list = list;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }
    //用户当前看的页数
    private int currentPage;
    //总页数
    private int totalPages;
    //上一页
    private int previousPage;
    //下一页
    private int nextPage;


}
